package org.lq.shopping.dao;

import java.util.List;

import org.lq.shopping.base.BaseDao;
import org.lq.shopping.entity.UserGoods;

public interface UserGoodsDao extends BaseDao<UserGoods> {
	/**
	 * 通过用户Id查询关注的商品id 
	 * @param userId
	 * @return
	 */
	List<Integer> findByUserId(int userId);
	/**
	 * 删除用户关注的商品信息
	 * @param userid
	 * @param goodStypeid
	 * @return
	 */
	int deleteUserGoods(int userid, int goodStypeid);

}
